package cn.itcast.cxf.service;

import cn.itcast.cxf.domain.Car;
import cn.itcast.cxf.domain.User;

import javax.jws.WebService;
import java.util.List;

/**
 * Created by Think on 2017/9/18.
 */
@WebService
public interface IUserService {
    //传递字符串名称,返回字符串的值
    public String sayHello(String name);

    //传递User对象,返回当前对象拥有的车
    public List<Car> findCarsByUser(User user);
}
